package com.sakiko.mapper;

import com.sakiko.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * projectName: com.sakiko.mapper
 *
 * @author: Yang
 * description: employee的mapper接口
 * time: 2025/7/28 6:20
 */
//@Mapper // 方案二
public interface EmployeeMapper {

    // 查询所有职工的信息
    List<Employee> queryAllEmp();

    // boot-tx事务管理测试
    int deleteById(Integer id);

}
